package com.wk.springbootlearn.common.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;

@Data
public class PageHelper {
    @ApiModelProperty(value = "页码")
    private int page = 1;

    @ApiModelProperty("页容量")
    @Max(100)
    private int pageSize = 10;

}
